package com.snail.starter.mq.dto;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author: snail framework
 * @Date: 2023/7/4 11:30
 * @Version: 1.0.0
 */
@Data
public class LocalMessageDTO implements Serializable {

    private Long tenantId;

    private String topic;

    private Long messageId;

    private String bizId;

    private String bizCode;

    private Integer messageType;

    private String content;

    @Override
    public String toString() {
        return "{" +
                "tenantId=" + tenantId +
                ", topic='" + topic + '\'' +
                ", messageId=" + messageId +
                ", bizId='" + bizId + '\'' +
                ", bizCode='" + bizCode + '\'' +
                ", messageType=" + messageType +
                ", content='" + content + '\'' +
                '}';
    }
}